package com.bosssoft.trainee.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author liuqiang
 * @date 2022/7/20 10:41
 */
@Data
@TableName("sys_menus")
public class Menus {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer roleId;
    private Integer routeId;

    public Menus(Integer roleId, Integer routeId) {
        this.roleId = roleId;
        this.routeId = routeId;
    }
}
